package com.atguigu.gmall.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author lfy
 * @Description
 * @create 2023-07-28 15:52
 */
@Component
@ConfigurationProperties(prefix = "app.filter.user-auth")
@Data
public class UserAuthUrlProperties {

    //任何人都拒绝
    private List<String> denyUrls;

    //所有人都能自由访问
    private List<String> anyone;


    //必须登录才能访问的路径
    private List<String> mustLogin;

    private String loginUrl;

}
